package com.t.bricks.bussiness.db.dao.customergoldroll;

import com.t.bricks.bussiness.db.dao.common.BaseDao;
import com.t.bricks.model.MsgEmity;

public interface CustomerGoldRollDao<T> extends BaseDao<T> {

	/**
	 * 领取代金卷
	 * @param sGoldRollNo 代金卷号码
	 * @param sCustomerId 顾客账号
	 * @return
	 */
	MsgEmity employ(String sGoldRollNo, String sCustomerId);
	
	/**
	 * 使用代金卷
	 * @param sGoldRollNo 代金卷号码
	 * @return
	 */
	MsgEmity use(String uId);
	
}
